package com.sample;

import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.SeekBar;
import android.widget.TextView;

public class SampleActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        SeekBar seekbar1 = new SeekBar(this);  
        
        LinearLayout layout1 = (LinearLayout)findViewById(R.id.layout1); 
        layout1.addView(seekbar1);
       
        
    }
    
}